BlockEvents.broken(event=>{
    if (event.level.dimension == "eou:test" && !event.entity.isPlayer() && !event.player.isCreative()) {
        event.cancel(true)
    }
})

BlockEvents.placed(event=>{
    if (event.level.dimension == "eou:test" && !event.entity.isPlayer() && !event.player.isCreative()) {
        event.cancel(true)
    }
})